package pri.jz.keeper.util

import androidx.lifecycle.LiveData
import pri.jz.keeper.entity.User

/**
 *Author by: JZ
 *Email: 2451756617@qq.com
 *PS:
 */
class AbsentLiveData<T : Any?> private constructor() : LiveData<T>() {
    init {
        postValue(null)
    }
    companion object {
        fun <T> create(): LiveData<T> {
            return AbsentLiveData()
        }
    }

}